This way, newly displayed rows don't play an unselect animation (text
fading in) when they are unselected, but the row was previously used for
a selected item.
#include "gtklistitemprivate.h"
#include "gtkbinlayout.h"
+#include "gtkcssnodeprivate.h"
#include "gtkintl.h"
#include "gtkwidget.h"
+#include "gtkwidgetprivate.h"
/**
* SECTION:gtklistitem
if (item)
self->item = g_object_ref (item);
+ gtk_css_node_invalidate (gtk_widget_get_css_node (GTK_WIDGET (self)), GTK_CSS_CHANGE_ANIMATIONS);
+
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_ITEM]);
}